import { i18n } from '@app-nextmesh/common/utils';
import { NMMeshBaseCommand } from '@app-nextmesh/types';
import BaseGenerateDialog from './BaseGenerate';

export const cmdMeshTetMesh: NMMeshBaseCommand = {
  id: 'cmdMeshTetMesh',
  label: 'command.mesh.tetMesh',
  icon: 'commands/simu/tetMesh',
  create: (label, onClose) => (
    <BaseGenerateDialog
      title={i18n.t(label)}
      onClose={onClose}
      type='tetMesh'
    />
  ),
};
